<!-- Halaman Kiri -->        
<div id="blokinfotck">
    <div id="menupswt">
        <div id="iconpswt"><img src="<?php echo base_url() ?>image/lionair.png" width="100" /> <img src="<?php echo base_url() ?>image/merpati.png" width="100" /> <img src="<?php echo base_url() ?>image/batavia.png" width="100" /><img src="<?php echo base_url() ?>image/garuda.png" width="100" /><img src="<?php echo base_url() ?>image/kalstar.png" width="100" /><img src="<?php echo base_url() ?>image/sriwijaya.png" width="100" /></div>
    </div>
    <div id="infotiket">
        <div id="headertiket">

            <table class="table table-hover table-bordered">
                <thead class="table-head">
                    <tr>
                        <td><strong>Airlines</strong></td>
                        <td><strong>Flight</strong></td>
                        <td><strong>Class</strong></td>
                        <td><strong>Seat(s)</strong></td>
                        <td><strong>Price (IDR)</strong></td>
                    </tr>
                </thead>
                <tbody>

                    <?php $options = array('Economy' => 'Economy', 'Business' => 'Business') ?>
                    <?php foreach ($jadwals as $jadwal): ?>
                        <?php if ($jadwal->adult >= $adult_post): ?>

                            <?php echo form_open('costumers/booking') ?>
                            <tr>
                                <td><img src="<?php echo base_url() ?>upload/<?php echo get_image_m($jadwal->id_maskapai) ?>" width="60" height="40"  /></td>
                                <td><?php echo get_airlines($id_maskapai) ?></b> <?php echo $jadwal->flight ?><br /><?php echo get_airport($jadwal->from) ?> <?php echo $jadwal->depart ?> <?php echo get_airport($jadwal->to) ?>  <?php echo $jadwal->arrives ?></td>
                                <td><?php echo $jadwal->class ?></td>
                                <td><?php echo $jadwal->adult ?></td>

                                <?php echo form_hidden('id_jadwal', $jadwal->id) ?>
                                <?php echo form_hidden('id_maskapai', $jadwal->id_maskapai) ?>
                                <?php echo form_hidden('depart', $jadwal->depart) ?>
                                <?php echo form_hidden('arrives', $jadwal->arrives) ?>
                                <?php echo form_hidden('price', $jadwal->price) ?>
                                <?php echo form_hidden('flight', $jadwal->flight) ?>
                                <?php echo form_hidden('class', $jadwal->class) ?>
                                <?php echo form_hidden('from', $from) ?>
                                <?php echo form_hidden('to', $to) ?>
                                <?php echo form_hidden('adult', $adult_post) ?>
                                <?php echo form_hidden('adult_price', $jadwal->price) ?>
                                <?php echo form_hidden('child', $child_post) ?>
                                <?php echo form_hidden('child_price', $jadwal->price) ?>
                                <?php echo form_hidden('infant', $infant_post) ?>
                                <?php echo form_hidden('infant_price', $jadwal->infant) ?>
                                <?php echo form_hidden('date', $jadwal->date) ?>
                                <?php echo form_hidden('data1', $data1) ?>

                                <td><?php echo get_money($jadwal->price) ?><br /><?php echo form_submit('submit', 'Pilih', "class='btn'") ?></td>
                            </tr>
                            <?php echo form_close() ?>
                        <?php endif; ?>
                    <?php endforeach ?>
                </tbody>
            </table>
        </div>
    </div>
</div>
<!-- tutup halaman kiri-->  